#ifndef _ship_h__
#define _ship_h__
#include "gameentity.h"
#include "graphics/ieffect.h"
#include "graphics/irenderer.h"

class Ship : public GameEntity
{
public:
	void Initialise(gecko::IEffect* effect);

	void InitialisePhysics(gecko::PhysicsWorld & physicsWorld);

	UpdateReturn Update(float dt);

	void Render(gecko::IRenderer * renderer);

	void DoThrust(float value);
	void Turn(float value);

	gecko::Geometry*				m_mesh;
	gecko::DynamicGeometryInstance	m_geometryInstance;
	float							m_heading;
	float							m_turnRate;
	float							m_thrust;
	float							m_zoom;
	float							m_zoomDistance;
};

#endif